package Calendari;

public class Dia {

	private String nom;
	private int numDia;
	private Hora[] hores = new Hora[24];

	public Dia(String nom, int numDia) {

		this.nom = nom;
		this.numDia = numDia;
		for (int i = 0; i < 24; i++) {

			hores[i] = new Hora();

		}

	}
	
	public Dia(String nom) {
		this(nom, 0);		
	}

	public String getNom() {
		return nom;
	}

	public Hora getHora(int pos) {

		return hores[pos];

	}

	public int getNumDia() {
		return numDia;
	}

}
